package de.global42.clubapp.ejbs;

import java.util.List;

import javax.ejb.Remote;

import de.global42.clubapp.model.Coupon;

/**
 * @author lutz
 *
 */
@Remote
public interface ClientCouponHandler {

	/**
	 * Returns a list of all valid coupons for the respective client
	 * 
	 * @param clientId : {@link Long}
	 * @return {@link List}<{@link Coupon}>
	 */
	public List<Coupon> getClientCoupons(Long clientId);
	

	public void checkForCoupons(Long clientId);

	public void checkForCouponsAsync(Long clientId);

	public String devaluateCoupon(Long clientId, Long couponId);
}
